package com.htc.android.footprints.commonui;

import android.app.Activity;
import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.view.Window;
import android.widget.TextView;

public class HtcDialog
{
  private Context mContext;

  public HtcDialog(Context paramContext)
  {
    this.mContext = paramContext;
  }

  public HtcAlertDialog getGpsDisabledDialog()
  {
    return new HtcAlertDialog.Builder(this.mContext).setTitle(2131361812).setIcon(17301543).setMessage(2131361941).setPositiveButton(2131361949, new DialogInterface.OnClickListener()
    {
      public void onClick(DialogInterface paramDialogInterface, int paramInt)
      {
        Intent localIntent = new Intent("android.settings.LOCATION_SOURCE_SETTINGS");
        paramDialogInterface.dismiss();
        HtcDialog.this.mContext.startActivity(localIntent);
      }
    }).setNegativeButton(2131361796, null).create();
  }

  public HtcAlertDialog getLocationDisabledDialog()
  {
    return new HtcAlertDialog.Builder(this.mContext).setTitle(2131361938).setIcon(17301543).setMessage(2131361939).setPositiveButton(2131361949, new DialogInterface.OnClickListener()
    {
      public void onClick(DialogInterface paramDialogInterface, int paramInt)
      {
        Intent localIntent = new Intent("android.settings.LOCATION_SOURCE_SETTINGS");
        paramDialogInterface.dismiss();
        HtcDialog.this.mContext.startActivity(localIntent);
      }
    }).setNegativeButton(2131361796, null).create();
  }

  public HtcAlertDialog getLocationPickerNotFoundDialog()
  {
    return new HtcAlertDialog.Builder(this.mContext).setTitle(2131361959).setIcon(17301543).setMessage(2131361869).setNeutralButton(2131361893, null).create();
  }

  public HtcAlertDialog getNoInternalStroageDialog()
  {
    return new HtcAlertDialog.Builder(this.mContext).setTitle(2131361970).setIcon(17301543).setMessage(2131361971).setNeutralButton(2131361893, new DialogInterface.OnClickListener()
    {
      public void onClick(DialogInterface paramDialogInterface, int paramInt)
      {
        ((Activity)HtcDialog.this.mContext).finish();
        paramDialogInterface.dismiss();
      }
    }).create();
  }

  public HtcAlertDialog getPhotoPickerNotFoundDialog()
  {
    return new HtcAlertDialog.Builder(this.mContext).setTitle(2131361912).setIcon(17301543).setMessage(2131361913).setNeutralButton(2131361893, null).create();
  }

  public HtcAlertDialog getWarningDialog()
  {
    return new HtcAlertDialog.Builder(this.mContext).setTitle(2131361942).setIcon(17301543).setMessage(2131361943).setNeutralButton(2131361950, null).create();
  }

  public HtcAlertDialog getWirelessDisabledDialog()
  {
    return new HtcAlertDialog.Builder(this.mContext).setTitle(2131361935).setIcon(17301543).setMessage(2131361936).setPositiveButton(2131361949, new DialogInterface.OnClickListener()
    {
      public void onClick(DialogInterface paramDialogInterface, int paramInt)
      {
        Intent localIntent = new Intent("android.settings.WIRELESS_SETTINGS");
        paramDialogInterface.dismiss();
        HtcDialog.this.mContext.startActivity(localIntent);
      }
    }).setNegativeButton(2131361796, null).create();
  }

  public static class ImportDialog extends Dialog
  {
    private TextView msgText;

    public ImportDialog(Context paramContext)
    {
      super(2131427345);
      Window localWindow = getWindow();
      localWindow.requestFeature(1);
      localWindow.setContentView(2130903058);
      this.msgText = ((TextView)findViewById(2131492890));
    }

    public void setMessage(CharSequence paramCharSequence)
    {
      this.msgText.setText(paramCharSequence);
    }
  }
}

/* Location:           E:\workspace\dex2java\dex-translator-0.0.9.3\HtcFootprints_dex2jar.jar
 * Qualified Name:     com.htc.android.footprints.commonui.HtcDialog
 * JD-Core Version:    0.6.0
 */